<?php

	$config = array
	(
		'application' => array
		(
			'full_url' => 'http://127.0.0.1/Medicine%20SVN/', // With trailing slash.
			'name' => 'test',
			'author' => 'Mike Vercoelen',
			'version' => 0.1,
			'is_live' => false
		),
		'routing' => array
		(
			'default_controller' => 'home',
			'default_action' => 'index'
		),
		'system_plugins' => array
		(
			'database_builder'
		),
		'database' => array
		(
			'connections' => array
			(
				'default' => array
				(
					'host' => '127.0.0.1',
					'port' => 3306,
					'name' => 'medicine',
					'username' => 'root',
					'password' => '',
					'provider' => 'mysql'
				)
			)
		)
	);
	
	define('DS', DIRECTORY_SEPARATOR);
	define('BASE_DIR', realpath(dirname(__FILE__)) . DS);
	define('APP_DIR', BASE_DIR . 'application' . DS);
	define('SYS_DIR', BASE_DIR . 'medicine' . DS);
	
	include SYS_DIR . 'medicine.php';
	
	$application = new Application($config);
	$application->run();

?>